package com.imdroid.modal;


public class JLocation {
	/**
	 * The generated serial version uuid.
	 */
	private static final long serialVersionUID = 4775377893675659411L;
	/**
	 * the date/time of the this record
	 */
	//private Date pos_date;
	/**
	 * the GPS lat
	 */
	private float pos_lat;
	/**
	 * the GPS lon
	 */
	private float pos_lon;

	/**
	 * The start time of the period
	 */
	private long start_time;

	/**
	 * The location using in json transfer
	 * 
	 * @param location
	 *            the location
	 */
	public JLocation(Location location) {
		//pos_date = location.getPos_date();
		pos_lat = location.getPos_lat();
		pos_lon = location.getPos_lon();
		start_time = location.getStart_time();
	}

	/**
	 * @return the pos_date
	 */
	//public Date getPos_date() {
	//	return pos_date;
	//}

	/**
	 * @param pos_date
	 *            the pos_date to set
	 */
	//public void setPos_date(Date pos_date) {
	//	this.pos_date = pos_date;
	//}

	/**
	 * @return the pos_lat
	 */
	public float getPos_lat() {
		return pos_lat;
	}

	/**
	 * @param pos_lat
	 *            the pos_lat to set
	 */
	public void setPos_lat(float pos_lat) {
		this.pos_lat = pos_lat;
	}

	/**
	 * @return the pos_lon
	 */
	public float getPos_lon() {
		return pos_lon;
	}

	/**
	 * @param pos_lon
	 *            the pos_lon to set
	 */
	public void setPos_lon(float pos_lon) {
		this.pos_lon = pos_lon;
	}

	/**
	 * @return the start_time
	 */
	public long getStart_time() {
		return start_time;
	}

	/**
	 * @param start_time
	 *            the start_time to set
	 */
	public void setStart_time(long start_time) {
		this.start_time = start_time;
	}
}
